package com.lx.information.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lx.information.domain.InformationCaseAddress;
import com.lx.information.domain.InformationCasePhone;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * @author liuzhiqiang
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class InformationCaseVO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 系统唯一编号 */
    @Excel(name = "系统唯一编号")
    private Long bid;

    /** 查询结果 */
    @Excel(name = "查询结果")
    private String dataState;

    /** 共案案件编号 */
    @Excel(name = "共案案件编号")
    private String caseNo;

    /** 共案身份证号 */
    @Excel(name = "共案身份证号")
    private String idNo;

    /** 共案债务人姓名 */
    @Excel(name = "共案债务人姓名")
    private String name;

    /** 共案客户 */
    @Excel(name = "共案客户")
    private String customerName;

    /** 共案客户手次 */
    @Excel(name = "共案客户手次")
    private String handleTime;

    /** 案件金额 */
    @Excel(name = "案件金额")
    private String caseAmount;

    /** 共案还款金额 */
    @Excel(name = "共案还款金额")
    private String repayAllMoneyYes;

    /** 最近还款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近还款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date latestRepaymentDate;

    /** 最近还款金额 */
    @Excel(name = "最近还款金额")
    private String latestRepaymentAmount;

    /** 共案委案开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "共案委案开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentStartTime;

    /** 共案委案结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "共案委案结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentEndTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 户籍信息 */
    @Excel(name = "户籍信息")
    private String censusRegister;


    private List<InformationCasePhone> phoneList;

    private List<InformationCaseAddress> addressList;

}
